Write a program that, when run, will print out its own source code [closed]

Posted by Galilyou on Stack Overflow See other posts from Stack Overflow or by Galilyou
Published on 2010-06-15T17:19:35Z Indexed on 2010/06/15 17:32 UTC
Read the original article Hit count: 177

Filed under:
|

Possible Duplicate:
A puzzle - a program printing its own source

In your favorite programming language, write a program that, when run, will print out its own source code!

Sounds interesting, now let's go!
ps: Literally, there is "NO" use case for this, just plain curiosity!

© Stack Overflow or respective owner

Related posts about language-agnostic

Related posts about quine